<template>
<p>
  1111111111111111111111
</p>
</template>

<script >
import { defineProps, provide, reactive,inject } from 'vue'
import {router} from "../router"

const state = reactive({ count: 0 })
export default{


  setup(){
    //provide("views")
    const one =()=>{
      router.v.value = router.list[1]
      //router.v= 3
      console.log('已加载')
      // let v= inject('views')
      // console.log("你倒是刷新啊！！",v)
    }
    return {one}
  }
}
</script>

<style scoped>
a {
  color: #42b983;
}
</style>